<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
<h1>Login</h1>
<form action="LoginServlet" method="post">
 UserName:<input type="text" name="userName"><br><br>
 Password:<input type="text" name="password"><br>
 <input type="submit" value="login">
</form>
<br>
</body>
</html>